package com.zmn.oms.business.interfaces.work;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.entity.work.OrderWork;
import com.zmn.oms.model.vo.work.erp.SharingEstimateVO;

/**
 * @author sunlife
 * @date:2020/10/15 4:27 下午
 * description:
 */
public interface OrderWorkERPQueryBService {

    Integer haveSharingEstimate(OrderWork orderWork);

    /**
     * 获取服务分润
     * @param orderId
     * @param workId
     * @param needProcessSublist
     * @return
     * @throws OmsBaseException
     */
    SharingEstimateVO findSharingEstimate(Long orderId, Long workId, Boolean needProcessSublist, Boolean filterEngineer) throws OmsBaseException;


}
